Assessment Functions - Used in Script Assessment

The TPT Assessment script language is an extension of the scripting language Python. You can use the following language modules and types as an extension to Python in script assesslets for the assessment of TPT test cases.

Assessment Modules

The following section summarizes all modules of the TPT assessment language.

A module provides a number of functions and constants that can be accessed in a "static" way.

In other words, a module can be considered as a separate name space. All functions and constants can be accessed using the module name as a prefix.

Module names in TPT start with a capital letter.

There are several modules, thematically sorted:

Assessment Types

The following section summarizes all types of the TPT assessment language.

A type can have zero, one or more instances (variables) that can be created at runtime. In general, the assessment modules provide functions to create instances of assessment types.

Type names in TPT start with a lowercase letter.

The available assessment types are: